go/types.indexedExpr.orig (field)

17 uses

	go/types (current package)
		call.go#L40: 		instErrPos = inNode(ix.orig, ix.lbrack)
		call.go#L41: 		x.expr = ix.orig // if we don't have an index expression, keep the existing expression of x
		call.go#L291: 			sig = check.instantiateSignature(ix.Pos(), ix.orig, sig, targs, xlist)
		call.go#L396: 				x.expr = ix.orig
		call.go#L433: 					x.expr = ix.orig
		index.go#L32: 		x.typ = check.varType(e.orig)
		index.go#L101: 		x.expr = e.orig
		index.go#L175: 				x.expr = e.orig
		index.go#L335: 		check.errorf(expr.orig, InvalidSyntaxTree, "index expression %v with 0 indices", expr)
		index.go#L422: 	orig    ast.Expr   // the wrapped expr, which may be distinct from the IndexListExpr below.
		index.go#L430: 	return x.orig.Pos()
		index.go#L437: 			orig:    e,
		index.go#L445: 			orig:    e,
		resolver.go#L535: 					check.error(ix.orig, InvalidSyntaxTree, "parameterized receiver contains nil parameters")
		typexpr.go#L451: 		check.errorf(ix.orig, NotAGenericType, invalidOp+"%s (%s)", ix.orig, cause)
		typexpr.go#L483: 		check.recordInstance(ix.orig, targs, inst)